<!DOCTYPE html>

<html>
    <head>
        <title>Cadastrar Aluno</title>
        <meta charset="UTF-8">
        <meta name="viewport" content="width=device-width, initial-scale=1.0">
        <link href="css/bootstrap.css" rel="stylesheet">
        <link href="css/bootstrap-responsive.css" rel="stylesheet">
  	<link href="css/stilo.css" rel="stylesheet">
        <!-- HTML5 shim, for IE6-8 support of HTML5 elements -->
        <!--[if lt IE 9]>
        <script src="js/html5shiv.js"></script>
        <![endif]-->
    </head>
    <body>
       <div class="container">
           <?php include "topo.html"; ?>
           <?php include "menu.php"; ?>
           
           <!------------------------------------------Inicio do Conteudo------------------------------------->
		<section>
			<div id="conteudo">
				<div class="row-fluid">
					<div class="span12">
						<div class="titulo">
                                                    <p><b>Cadastrar Aluno</b></p>
						</div>
						<div class="bordas">
                                                    <div>
                                                            <form class="form-horizontal cargo" method="POST" action="" >
                                                                <fieldset>

                                                               
                                                                <!-- Text input-->
                                                                <div class="control-group">
                                                                  <label class="control-label" for="busca">Pesquisar</label>
                                                                  <div class="controls">
                                                                    <input id="busca" name="busca"  class="input-large" type="text">
                                                                    
                                                                  </div>
                                                                </div>

                                                               
                                                                <!-- Button -->
                                                                <div class="control-group">
                                                                  <label class="control-label" for="pesquisar"></label>
                                                                  <div class="controls">
                                                                    <button id="pesquisar" name="pesquisar" class="btn btn-primary">Pesquisar</button>
                                                                  </div>
                                                                </div>

                                                                </fieldset>
                                                              </form>
                                                        
                                                             <div class="row-fluid">                                                      
															<div class="span12 table-responsive">                                                         
                                                            <table class="table">
                                                                <tr>
                                                                    <th>Série: <?php echo ''.$dados->ser_nome.'  -  Turma:'.$dados->tur_nome.''; ?></th 
                                                                </tr>
                                                                <tr>
                                                                    <td>Alunos Cadastrados</td>
                                                                    <td>Cartão do SUS</td>
                                                                    <td>Adicionar a Turma</td>
                                                                </tr>
                                                                <?php
                                                                foreach ($resultado as $valor) {
                                                                echo '
                                                                <tr>
                                                                    <td>'.$valor->usu_nome.'</td>
                                                                    <td>'.$valor->usu_sus.'</td>
                                                                    <td><a href="index.php?pg=InserirAluno&id='.$valor->id.'-'.$id.'" class="btn btn-inverse">Inserir</a></td>    
                                                                </tr>';
                                                                 }
                                                                ?>
                                                            </table>
															</div>
															</div>
							</div>
						</div>
					</div>	
				</div>
			</div> <!-- Fim da linha conteudo -->
		</section><!-- ----------------------------------------fim do Conteudo----------------------------------- -->

           
           <?php include "rodape.html"; ?>
           
           
       </div><!-- fim da div container -->    
        
        
    <!-- Arquivos Javascripts ================================================== -->
    <script src="js/jquery-1.10.2.min.js"></script>
    <script src="js/bootstrap.min.js"></script>
    <script src="js/jquery.validate.js"></script>
   
    </body>
</html>
